package com.server;

import com.domain.Contribute;

import java.util.List;

public interface ContributeService {

    public List showContribute(int page,int pageSize,int space_id);

    public int showContributeTotal(int space_id);

    List  showYContribute(int space_id);

    List  showUNContribute(int space_id);

    List  showDContribute(int space_id);


    //根据资源id显示贡献信息
    public Contribute showContributeById(Integer id,int space_id);

    public Integer insertContribute(Contribute contribute);


    int deleteContributeBySpaceId(int space_id);
    Contribute findLastId();

}
